-- GENERATED SPELL FOR [Dark Strand Enforcer] --


function spell0_3727(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_3727', 596, 1)
end

function Sorts_3727(pUnit, Event)
local choix_sorts_3727 = math.random(0, 0)
if choix_sorts_3727 == 0 then
pUnit:RegisterEvent('spell0_3727', 1, 1)
end
end

function mob3727_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3727', math.random(1500, 3000), 1)
end

function mob3727_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3727_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3727_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3727, 1, 'mob3727_Action')
RegisterUnitEvent(3727, 2, 'mob3727_Leave')
RegisterUnitEvent(3727, 3, 'mob3727_Kill')
RegisterUnitEvent(3727, 4, 'mob3727_Die')
